<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Mod_quangcao extends CI_Controller {
    private $table = 'quangcao';
	public function index($id=1){
        $where =array('id'=>$id,'publish'=>1);
        $data['data'] = $this->home_model->get_one($this->table,$where);           
        $this->load->view('mod_quangcao/vmod_quangcao',$data);
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */